import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import "./plugins/elementUi";
import messageBox from "./plugins/message";
import { showLoading, hideLoading } from "./plugins/loading";
// 二次封裝彈窗
Vue.prototype.$MessageBox = messageBox;
Vue.prototype.$showLoading = showLoading;
Vue.prototype.$hideLoading = hideLoading;

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
